---
sidebar_position: 1
toc_min_heading_level: 2
toc_max_heading_level: 2
---

# Initialization

## 模块概览

:::info

初始化等基础相关 API

:::

| 模块名称                                                                          | 模块功能简介     |
| --------------------------------------------------------------------------------- | ---------------- |
| [initSDK](docs/sdks/Api/Initialization/initSDK.mdx)                               | 初始化 SDK       |
| [login](docs/sdks/Api/Initialization/login.mdx)                                   | 登录             |
| [logout](docs/sdks/Api/Initialization/login.mdx)                                  | 登出             |
| [getConnectStatus](docs/sdks/Api/Initialization/getConnectStatus.mdx)             | 获取链接状态     |
| [getLoginStatus](docs/sdks/Api/Initialization/getLoginStatus.mdx)                 | 获取登录状态     |
| [getLoginUser](docs/sdks/Api/Initialization/getLoginUser.mdx)                     | 获取登录 userID  |
| [setAppBackgroundStatus](docs/sdks/Api/Initialization/setAppBackgroundStatus.mdx) | 设置是否切到后台 |
